import { createApp } from 'vue'
import App from './App.vue'
import router from "./router";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from 'axios';

// 设置 Axios 默认后端路径
axios.defaults.baseURL = 'http://localhost:8080'; 

const app =createApp(App)
app.config.globalProperties.$axios = axios;
app.use(router)
app.use(ElementPlus);
app.mount('#app')

